package io.github.mayubao.kotlintest

import org.junit.Assert.assertEquals
import org.junit.Test

class Day3_StringTemplate{
    @Test
    fun testStringTemplate(){
        val userName = "xiaoming"
        val somebodyPlay = "${userName} play"
        assertEquals("xiaoming play" , somebodyPlay)

        //if you want to use string template, you should use the symbol ${} to replace your variable
    }
}